package com.blb.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.blb.dto.ZDanmu;
import com.blb.dao.ZDanmuMapper;
import com.blb.dto.ZDanmuExample;
import com.blb.service.ZDanmuService;

@Service
public class ZDanmuServiceImpl implements ZDanmuService {

    @Resource
    private ZDanmuMapper zDanmuMapper;

    @Override
    public long countByExample(ZDanmuExample example) {
        return zDanmuMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(ZDanmuExample example) {
        return zDanmuMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer did) {
        return zDanmuMapper.deleteByPrimaryKey(did);
    }

    @Override
    public int insert(ZDanmu record) {
        return zDanmuMapper.insert(record);
    }

    @Override
    public int insertSelective(ZDanmu record) {
        return zDanmuMapper.insertSelective(record);
    }

    @Override
    public List<ZDanmu> selectByExample(ZDanmuExample example) {
        return zDanmuMapper.selectByExample(example);
    }

    @Override
    public ZDanmu selectByPrimaryKey(Integer did) {
        return zDanmuMapper.selectByPrimaryKey(did);
    }

    @Override
    public int updateByExampleSelective(ZDanmu record, ZDanmuExample example) {
        return zDanmuMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(ZDanmu record, ZDanmuExample example) {
        return zDanmuMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(ZDanmu record) {
        return zDanmuMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ZDanmu record) {
        return zDanmuMapper.updateByPrimaryKey(record);
    }

}

